<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html><head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Nested Sortable Widget Demo</title>

<!--link rel="stylesheet" href="wp-admin.css" type="text/css"-->
<link rel="stylesheet" href="nestedsortablewidget.css" type="text/css">


<script type="text/javascript" src="/cubes/js/jQuery/jquery-1.2.1.pack.js"></script>

<script type="text/javascript" src="../../externals/released-externals/interface-1.2.js"></script>

<!--JSON plugin-->
<script type="text/javascript" src="../../externals/json/json.js"></script>

<!--Nested Sortables-->
<script type="text/javascript" src="../../compressed/nested_sortable/inestedsortable.js"></script>
<script type="text/javascript" src="../../compressed/widget/jquery.nestedsortablewidget.js"></script>

<script type="text/javascript">
/* <![CDATA[ */
	jQuery( function($) { 
	
		$('#ajax-response5').NestedSortableWidget({
			name: 'sortable_list',
			loadUrl: "/cubes/menu/load_json",
			saveUrl: "/cubes/menu/save_from_json",
			paginate: false,
			incremental: true,
			onInitialLoad: function() {
				//alert('The last widget finished loading.');
			},
		});

	});
/* ]]> */
</script>
</head>
<body>	
<a href="/sort/test/widget/jdMenu-demo.php">view menu</a>
<div id="ajax-response5"></div>
</body></html>